package test
{
	import flash.events.Event;
	import flash.net.URLLoader;
	import flash.net.URLRequest;
	
	public class assemble
	{
		public function assemble()
		{
		}
		
		private var xml:XML=null;

		public function basic():void{
			var urlLoader:URLLoader=new URLLoader();
			urlLoader.load(new URLRequest('assembleCfg.mxml'));
			urlLoader.addEventListener(Event.COMPLETE, function COMPLETE(e:Event):void{
				xml=new XML(urlLoader.data);
				_basic();
			});
		}
		
		private function _basic():void{
			trace(this.xml.name().toString());
		}
	}
}